Return to doc.sitecore.com

Valid for Sitecore 5.2, 5.1.1
  The web.config databases Section
Prev Next

The <databases> section includes multiple <database> tags, each of which provides information regarding a specific data source, including which data providers are used to interact with the physical data source.  The <database> tag has the following format:


<database id="dbname" singleInstance="true"
        type="Sitecore.Data.Database, Sitecore.Kernel">
  <param desc="name">$(id)</param>
  <dataProviders hint="list:AddDataProvider">
    <dataProvider ref="dataProviders/dpname"/>
  </dataProviders>
</database>

Text displayed above in a bold, italic font should be replaced with appropriate values as follows:

The web.config file includes support for many optional parameters associated with both the <dataProvider> and <database> tags.  These are described in more detail in the associated reference sections below.


Prev Next